home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / challenge / 13.04 / 13.04 Challenge.sit / Challenge Column 13.04 / SortWindow.h < prev   
Text File  |  1997-01-21  |  367b  |  23 lines

  1. /* SortWindow.h  
  2.    Charles Higgins 
  3.  */
  4.  
  5. typedef enum SortType {
  6.  kBubbleSort = 1,
  7.  kExchange = 2,
  8.  kMySort = 3
  9.  } SortType;
  10.  
  11. class SortWindow : public BWindow {
  12.  
  13. public:
  14.                 SortWindow(BRect frame);
  15.  
  16. virtual void DoSort( char *thingsToSort[],
  17.      int numberOfThings,
  18.      SortType sortMethod);
  19.      
  20. virtual void QuickSort( char **list, int first, int last);
  21.  
  22. };
  23.